
from core.basic.skill import 技能
from core.basic.character import Character
from core.basic.skill import 主动技能, 被动技能


class 技能0(主动技能):
    名称 = "烟尘弹"
    所在等级 = 10
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 6
    MP = [30, 322]
    无色消耗 = 0
    data0 = [0, 566, 623, 680, 737, 795, 853, 910, 968, 1025, 1082, 1140, 1197, 1256, 1314, 1371, 1426, 1483, 1541, 1598, 1657, 1715, 1772, 1829, 1886, 1945, 2002, 2060, 2118, 2175, 2232, 2290, 2347, 2404, 2463, 2520,
             2576, 2633, 2691, 2748, 2805, 2864, 2921, 2978, 3036, 3093, 3150, 3207, 3267, 3324, 3381, 3439, 3496, 3553, 3610, 3669, 3726, 3782, 3840, 3897, 3954, 4012, 4070, 4127, 4185, 4242, 4299, 4356, 4414, 4473, 4530]
    hit0 = 6
    TP成长 = 0.1
    TP上限 = 7


class 技能1(主动技能):
    名称 = "刺踢"
    所在等级 = 15
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 4.4
    MP = [20, 224]
    无色消耗 = 0
    data0 = [0, 3481, 3833, 4188, 4539, 4893, 5248, 5598, 5954, 6306, 6658, 7013, 7367, 7723, 8073, 8425, 8781, 9133, 9488, 9840, 10191, 10547, 10899, 11254, 11604, 11958, 12313, 12664, 13020, 13372, 13729, 14080, 14432, 14788, 15140, 15495, 15846,
             16199, 16553, 16906, 17259, 17614, 17964, 18320, 18672, 19025, 19378, 19731, 20083, 20437, 20792, 21145, 21496, 21850, 22204, 22556, 22910, 23263, 23615, 23969, 24323, 24674, 25029, 25383, 25736, 26089, 26441, 26797, 27150, 27502, 27857]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 7


class 技能2(主动技能):
    名称 = "致命射击"
    所在等级 = 15
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 6.2
    MP = [60, 560]
    无色消耗 = 0
    data0 = [0, 2377, 2617, 2859, 3099, 3342, 3581, 3822, 4064, 4305, 4546, 4788, 5028, 5270, 5510, 5753, 5992, 6234, 6475, 6716, 6957, 7200, 7439, 7681, 7922, 8165, 8403, 8645, 8887, 9127, 9368, 9611, 9850, 10092, 10334, 10576, 10814, 11057,
             11298, 11538, 11779, 12022, 12262, 12503, 12745, 12986, 13225, 13468, 13709, 13950, 14190, 14433, 14673, 14915, 15156, 15396, 15637, 15879, 16121, 16361, 16604, 16844, 17084, 17326, 17569, 17807, 18049, 18291, 18532, 18772, 19015]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 7


class 技能3(被动技能):
    名称 = '左轮奥义'
    所在等级 = 15
    等级上限 = 20
    基础等级 = 10

    def 物理攻击力倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.0 + 0.02 * self.等级, 5)


class 技能4(被动技能):
    名称 = '花式枪术'
    所在等级 = 20
    等级上限 = 20
    基础等级 = 10

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            if self.等级 <= 10:
                return round(1 + 0.01 * self.等级, 5)
            else:
                return round(1.1 + 0.02 * (self.等级 - 10), 5)


class 技能5(主动技能):
    名称 = "锁链截击"
    所在等级 = 25
    等级上限 = 70
    学习间隔 = 3
    等级精通 = 60
    CD = 5
    MP = [50, 420]
    无色消耗 = 0
    data0 = [0, 613, 711, 810, 906, 1005, 1102, 1200, 1298, 1395, 1494, 1592, 1689, 1787, 1886, 1983, 2080, 2179, 2276, 2375, 2472, 2570, 2668, 2766, 2863, 2961, 3060, 3156, 3255, 3353, 3451, 3548, 3646, 3744, 3842,
             3940, 4037, 4136, 4234, 4330, 4429, 4527, 4625, 4722, 4821, 4918, 5017, 5114, 5211, 5310, 5407, 5505, 5603, 5701, 5799, 5896, 5994, 6092, 6191, 6287, 6386, 6484, 6582, 6679, 6777, 6875, 6972, 7071, 7168, 7267, 7364]
    hit0 = 5
    data1 = [0, 920, 1067, 1214, 1361, 1507, 1654, 1801, 1947, 2094, 2242, 2388, 2535, 2682, 2828, 2975, 3122, 3268, 3415, 3563, 3709, 3856, 4003, 4149, 4296, 4442, 4588, 4736, 4882, 5030, 5176, 5322, 5469, 5616, 5762, 5909,
             6057, 6203, 6350, 6497, 6643, 6790, 6937, 7083, 7230, 7378, 7524, 7671, 7818, 7964, 8111, 8258, 8404, 8552, 8699, 8845, 8992, 9138, 9285, 9432, 9578, 9725, 9873, 10019, 10166, 10313, 10459, 10606, 10753, 10899, 11046]
    hit1 = 1
    data2 = [0, 920, 1067, 1214, 1361, 1507, 1654, 1801, 1947, 2094, 2242, 2388, 2535, 2682, 2828, 2975, 3122, 3268, 3415, 3563, 3709, 3856, 4003, 4149, 4296, 4442, 4588, 4736, 4882, 5030, 5176, 5322, 5469, 5616, 5762, 5909,
             6057, 6203, 6350, 6497, 6643, 6790, 6937, 7083, 7230, 7378, 7524, 7671, 7818, 7964, 8111, 8258, 8404, 8552, 8699, 8845, 8992, 9138, 9285, 9432, 9578, 9725, 9873, 10019, 10166, 10313, 10459, 10606, 10753, 10899, 11046]
    hit2 = 1
    TP成长 = 0.1
    TP上限 = 7


class 技能6(主动技能):
    名称 = "音速劫击"
    所在等级 = 30
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 4.4
    MP = [50, 420]
    无色消耗 = 0
    data0 = [0, 1673, 1844, 2014, 2184, 2353, 2524, 2693, 2864, 3032, 3203, 3374, 3544, 3714, 3884, 4053, 4224, 4393, 4563, 4731, 4902, 5074, 5242, 5412, 5583, 5752, 5923, 6091, 6262, 6432, 6602, 6772, 6942, 7112, 7283, 7451, 7622,
             7791, 7961, 8132, 8299, 8472, 8643, 8811, 8982, 9150, 9320, 9490, 9659, 9830, 9999, 10171, 10342, 10510, 10680, 10850, 11020, 11190, 11359, 11530, 11699, 11870, 12040, 12210, 12380, 12548, 12718, 12889, 13058, 13229, 13397]
    hit0 = 3
    TP成长 = 0.1
    TP上限 = 7


class 技能7(主动技能):
    名称 = "枪舞"
    所在等级 = 35
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 17.6
    MP = [150, 1260]
    无色消耗 = 1
    data0 = [0, 381, 421, 459, 498, 536, 576, 615, 653, 692, 731, 769, 808, 847, 887, 925, 963, 1003, 1042, 1080, 1119, 1158, 1196, 1236, 1274, 1312, 1352, 1390, 1431, 1468, 1506, 1546, 1585, 1623, 1662, 1700,
             1740, 1779, 1817, 1855, 1895, 1934, 1973, 2011, 2050, 2089, 2127, 2168, 2206, 2244, 2283, 2322, 2363, 2401, 2439, 2479, 2517, 2556, 2596, 2634, 2672, 2711, 2751, 2790, 2827, 2866, 2906, 2945, 2983, 3021, 3061]
    hit0 = 20
    data1 = [0, 679, 748, 818, 887, 955, 1025, 1093, 1163, 1231, 1300, 1369, 1439, 1506, 1576, 1647, 1713, 1782, 1852, 1921, 1989, 2060, 2127, 2198, 2267, 2334, 2404, 2474, 2545, 2611, 2682, 2751, 2817, 2888, 2958, 3026,
             3095, 3164, 3233, 3302, 3371, 3439, 3509, 3579, 3646, 3716, 3785, 3854, 3922, 3992, 4060, 4130, 4198, 4268, 4336, 4406, 4475, 4543, 4613, 4682, 4750, 4819, 4889, 4956, 5026, 5095, 5165, 5232, 5303, 5371, 5441]
    hit1 = 9
    TP成长 = 0.1
    TP上限 = 5

    是否有护石 = 1

    def 装备护石(self, char):
        self.CDR *= 0.9
        self.hit0 = 0
        self.power1 = (2 * 1.49)


class 技能8(主动技能):
    名称 = "移动射击"
    所在等级 = 35
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 24.3
    MP = [200, 1680]
    无色消耗 = 1
    data0 = [0, 649, 714, 780, 846, 912, 978, 1043, 1110, 1175, 1241, 1307, 1374, 1438, 1505, 1572, 1637, 1703, 1769, 1835, 1900, 1965, 2031, 2098, 2163, 2229, 2296, 2362, 2427, 2493, 2560, 2627, 2689, 2756, 2823, 2887,
             2954, 3021, 3086, 3152, 3219, 3284, 3351, 3414, 3480, 3547, 3612, 3678, 3745, 3811, 3877, 3943, 4009, 4076, 4138, 4205, 4272, 4338, 4403, 4470, 4535, 4601, 4668, 4732, 4799, 4864, 4929, 4996, 5063, 5127, 5194]
    hit0 = 30
    TP成长 = 0.1
    TP上限 = 5


class 技能9(主动技能):
    名称 = "多重射击"
    所在等级 = 40
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 19.8
    MP = [150, 1260]
    无色消耗 = 1
    data0 = [0, 3346, 3685, 4023, 4365, 4703, 5044, 5382, 5721, 6061, 6399, 6741, 7080, 7417, 7758, 8098, 8438, 8777, 9114, 9455, 9795, 10135, 10474, 10814, 11153, 11492, 11834, 12171, 12511, 12850, 13190, 13531, 13868, 14208, 14549, 14887, 15228,
             15566, 15905, 16246, 16584, 16925, 17263, 17603, 17944, 18281, 18622, 18961, 19300, 19641, 19978, 20318, 20659, 20997, 21337, 21678, 22017, 22355, 22693, 23035, 23374, 23714, 24054, 24392, 24731, 25072, 25412, 25750, 26090, 26429, 26768]
    hit0 = 5
    TP成长 = 0.1
    TP上限 = 5

    是否有护石 = 1

    def 装备护石(self, char):
        self.倍率 = 1.27


class 技能10(主动技能):
    名称 = "双鹰回旋"
    所在等级 = 45
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 44.5
    MP = [360, 3024]
    无色消耗 = 2
    data0 = [0, 611, 672, 735, 796, 858, 921, 982, 1044, 1107, 1168, 1231, 1292, 1355, 1417, 1478, 1540, 1604, 1666, 1728, 1788, 1852, 1914, 1976, 2036, 2101, 2162, 2222, 2286, 2348, 2411, 2472, 2532, 2597, 2658, 2721,
             2782, 2845, 2907, 2968, 3030, 3093, 3155, 3216, 3278, 3341, 3403, 3464, 3526, 3589, 3651, 3712, 3774, 3837, 3899, 3961, 4022, 4086, 4147, 4208, 4271, 4333, 4396, 4457, 4518, 4582, 4643, 4705, 4767, 4830, 4892]
    hit0 = 14
    data1 = [0, 624, 686, 750, 814, 878, 940, 1004, 1069, 1131, 1194, 1257, 1320, 1385, 1447, 1512, 1574, 1638, 1702, 1765, 1828, 1891, 1954, 2019, 2081, 2145, 2207, 2272, 2336, 2399, 2462, 2525, 2588, 2652, 2715, 2779,
             2841, 2906, 2969, 3033, 3096, 3158, 3222, 3285, 3349, 3411, 3475, 3538, 3603, 3666, 3729, 3792, 3856, 3919, 3983, 4045, 4109, 4173, 4236, 4300, 4363, 4426, 4491, 4553, 4617, 4679, 4743, 4807, 4870, 4933, 4997]
    hit1 = 18
    data2 = [0, 662, 729, 796, 864, 931, 997, 1065, 1133, 1200, 1268, 1335, 1401, 1469, 1535, 1602, 1670, 1736, 1804, 1872, 1939, 2007, 2074, 2140, 2207, 2275, 2342, 2411, 2478, 2544, 2612, 2679, 2746, 2814, 2879, 2946,
             3015, 3082, 3149, 3216, 3283, 3350, 3418, 3485, 3552, 3620, 3687, 3754, 3822, 3889, 3956, 4023, 4090, 4158, 4224, 4292, 4358, 4426, 4493, 4560, 4628, 4694, 4761, 4830, 4897, 4964, 5032, 5098, 5165, 5233, 5300]
    hit2 = 32
    TP成长 = 0.1
    TP上限 = 5
    是否有护石 = 1

    无色消耗 = 2
    MP = [360, 3024]

    def 装备护石(self, char):
        self.hit0 = 0
        self.power1 = 1.2
        self.hit1 = 24
        self.hit2 = 46


class 技能11(被动技能):
    名称 = '隐匿切割'
    所在等级 = 48

    等级上限 = 40
    等级精通 = 30
    学习间隔 = 3

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.065 + 0.02 * self.等级, 5)


class 技能12(主动技能):
    名称 = "血腥狂欢"
    所在等级 = 50
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 145
    MP = [1000, 8400]
    无色消耗 = 5
    data0 = [0, 2836, 3494, 4150, 4807, 5465, 6124, 6780, 7438, 8095, 8753, 9412, 10069, 10725, 11383, 12041, 12698, 13357, 14013, 14672, 15328, 15986, 16646, 17304, 17962, 18617,
             19275, 19934, 20592, 21249, 21905, 22563, 23222, 23878, 24536, 25195, 25852, 26510, 27166, 27824, 28483, 29139, 29798, 30455, 31113, 31771, 32427, 33086, 33743, 34401, 35059]
    hit0 = 24
    data1 = [0, 8412, 10362, 12313, 14263, 16214, 18164, 20115, 22065, 24017, 25969, 27917, 29868, 31819, 33771, 35720, 37672, 39621, 41572, 43523, 45476, 47426, 49376, 51325, 53276, 55227,
             57179, 59128, 61079, 63030, 64980, 66932, 68883, 70833, 72782, 74734, 76685, 78635, 80587, 82535, 84486, 86439, 88389, 90339, 92290, 94240, 96190, 98142, 100093, 102043, 103994]
    hit1 = 1


class 技能13(主动技能):
    名称 = "鲜血劫击"
    所在等级 = 60
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 25
    MP = [400, 1120]
    无色消耗 = 2
    data0 = [0, 11622, 12802, 13981, 15160, 16340, 17517, 18697, 19875, 21056, 22235, 23415, 24592, 25773, 26952, 28131, 29309, 30490, 31669, 32846, 34027, 35206, 36385, 37565, 38744,
             39921, 41103, 42281, 43459, 44641, 45818, 46997, 48176, 49356, 50535, 51715, 52893, 54072, 55252, 56432, 57611, 58789, 59968, 61147, 62327, 63505, 64687, 65865, 67043, 68221, 69403]
    hit0 = 1
    data1 = [0, 13023, 14343, 15663, 16984, 18306, 19627, 20949, 22269, 23590, 24911, 26234, 27554, 28877, 30196, 31516, 32837, 34159, 35480, 36802, 38123, 39444, 40767, 42086, 43407,
             44727, 46049, 47370, 48692, 50012, 51333, 52655, 53976, 55297, 56619, 57940, 59259, 60581, 61902, 63223, 64545, 65866, 67189, 68508, 69829, 71151, 72472, 73792, 75113, 76435, 77755]
    hit1 = 1
    TP成长 = 0.1
    TP上限 = 5

    是否有护石 = 1

    def 装备护石(self, char):
        self.power0 = 1 + 1.47 + 0.44
        self.hit1 = 0
        # self.倍率 *= 1.44


class 技能14(主动技能):
    名称 = "压制射击"
    所在等级 = 70
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 50
    MP = [800, 1680]
    无色消耗 = 3
    data0 = [0, 2284, 2515, 2746, 2979, 3209, 3445, 3678, 3908, 4141, 4372, 4604, 4835, 5067, 5298, 5531, 5761, 5994, 6224, 6457, 6691, 6922, 7154, 7386, 7617, 7849,
             8081, 8312, 8544, 8775, 9007, 9239, 9470, 9703, 9933, 10168, 10400, 10631, 10863, 11095, 11326, 11558, 11789, 12022, 12253, 12485, 12719, 12950, 13182, 13413, 13646]
    hit0 = 20
    data1 = [0, 5080, 5592, 6109, 6622, 7140, 7654, 8169, 8683, 9200, 9714, 10230, 10743, 11261, 11774, 12289, 12807, 13321, 13836, 14349, 14867, 15382, 15896, 16413, 16927, 17442,
             17958, 18473, 18989, 19503, 20018, 20535, 21048, 21565, 22078, 22595, 23109, 23625, 24140, 24655, 25169, 25686, 26201, 26716, 27231, 27747, 28261, 28777, 29292, 29807, 30322]
    hit1 = 1
    TP成长 = 0.1
    TP上限 = 5

    是否有护石 = 1

    无色消耗 = 3
    MP = [800, 1680]

    def 装备护石(self, char):
        self.power1 = 1 + 1.30
        # self.power0 = 1 + 1/20*0.37*10
        self.data3 = [0.37*i for i in self.data0]
        self.hit3 = 10


class 技能15(被动技能):
    名称 = '枪刃改良'
    所在等级 = 75

    等级上限 = 40
    等级精通 = 30
    学习间隔 = 3

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.22 + 0.02 * self.等级, 5)


class 技能16(主动技能):
    名称 = "死亡锁链"
    所在等级 = 75
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40
    CD = 40
    MP = [580, 4500]
    无色消耗 = 3
    data0 = [0, 8034, 9315, 10596, 11876, 13157, 14439, 15720, 17001, 18282, 19565, 20843, 22124, 23405, 24686, 25967, 27249, 28528, 29809, 31090, 32372, 33653, 34936, 36216, 37495,
             38775, 40056, 41337, 42619, 43901, 45183, 46463, 47743, 49025, 50306, 51587, 52866, 54148, 55427, 56709, 57990, 59272, 60552, 61833, 63115, 64395, 65676, 66957, 68238, 69519, 70799]
    hit0 = 5
    data1 = [0, 24105, 27949, 31790, 35634, 39476, 43320, 47160, 51003, 54845, 58690, 62534, 66374, 70219, 74060, 77905, 81745, 85590, 89434, 93276, 97118, 100959, 104805, 108647, 112488, 116331, 120175,
             124019, 127859, 131703, 135546, 139390, 143230, 147074, 150919, 154761, 158604, 162444, 166289, 170132, 173974, 177817, 181660, 185503, 189346, 193188, 197032, 200874, 204717, 208560, 212402]
    hit1 = 1
    MP = [580, 4500]

    是否有护石 = 1

    def 装备护石(self, char):
        self.倍率 *= 1 + 0.375 * 0.94


class 技能17(主动技能):
    名称 = "锁链切割"
    所在等级 = 80
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 45
    MP = [800, 8000]
    无色消耗 = 5
    data0 = [0, 23876, 26299, 28723, 31144, 33567, 35987, 38410, 40834, 43255, 45677, 48101, 50522, 52946, 55369, 57788, 60212, 62634, 65056, 67480, 69901, 72325, 74747, 77169, 79590, 82014, 84436,
             86859, 89282, 91703, 94126, 96548, 98971, 101391, 103814, 106237, 108661, 111081, 113504, 115928, 118349, 120772, 123194, 125616, 128039, 130461, 132884, 135306, 137728, 140151, 142573]
    hit0 = 1
    data1 = [0, 23876, 26299, 28723, 31144, 33567, 35987, 38410, 40834, 43255, 45677, 48101, 50522, 52946, 55369, 57788, 60212, 62634, 65056, 67480, 69901, 72325, 74747, 77169, 79590, 82014, 84436,
             86859, 89282, 91703, 94126, 96548, 98971, 101391, 103814, 106237, 108661, 111081, 113504, 115928, 118349, 120772, 123194, 125616, 128039, 130461, 132884, 135306, 137728, 140151, 142573]
    hit1 = 1
    data2 = [0, 31835, 35066, 38297, 41525, 44756, 47985, 51216, 54444, 57675, 60905, 64134, 67363, 70594, 73823, 77054, 80284, 83515, 86742, 89973, 93202, 96432, 99662, 102893, 106121, 109352, 112580,
             115811, 119041, 122271, 125502, 128730, 131961, 135191, 138422, 141649, 144880, 148110, 151339, 154569, 157800, 161029, 164259, 167489, 170719, 173948, 177178, 180408, 183637, 186867, 190097]
    hit2 = 1

    是否有护石 = 1

    def 装备护石(self, char):
        self.倍率 *= 1.34


class 技能18(主动技能):
    名称 = "血舞祭"
    所在等级 = 85
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 180
    MP = [2500, 8000]
    无色消耗 = 10
    data0 = [0, 170647, 210221, 249789, 289361, 328932, 368502, 408075, 447646, 487217, 526787, 566359, 605928, 645501, 685071, 724641, 764213, 803783, 843356, 882927, 922498, 962068, 1001637, 1041209, 1080780, 1120352, 1159922,
             1199494, 1239064, 1278636, 1318206, 1357776, 1397348, 1436918, 1476490, 1516061, 1555632, 1595203, 1634775, 1674345, 1713916, 1753487, 1793058, 1832629, 1872200, 1911771, 1951342, 1990913, 2030485, 2070055, 2109626]
    hit0 = 1


class 技能19(被动技能):
    名称 = '锁链意志'
    所在等级 = 95

    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.18 + 0.02 * self.等级, 5)


class 技能20(主动技能):
    名称 = "毁灭风暴"
    所在等级 = 95
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 60
    MP = [960, 9600]
    无色消耗 = 7
    data0 = [0, 5851, 6446, 7040, 7633, 8227, 8822, 9414, 10009, 10602, 11196, 11789, 12385, 12978, 13570, 14165, 14759, 15351, 15946, 16541, 17134, 17727, 18321, 18914, 19507, 20103,
             20696, 21290, 21884, 22476, 23070, 23665, 24260, 24852, 25446, 26040, 26633, 27227, 27821, 28415, 29008, 29602, 30195, 30791, 31385, 31976, 32571, 33165, 33757, 34353, 34947]
    hit0 = 3
    data1 = [0, 6022, 6633, 7245, 7856, 8466, 9079, 9688, 10300, 10911, 11522, 12133, 12745, 13356, 13966, 14577, 15189, 15798, 16411, 17023, 17633, 18244, 18854, 19465, 20075, 20688,
             21299, 21910, 22522, 23130, 23742, 24355, 24966, 25576, 26187, 26799, 27408, 28020, 28632, 29242, 29853, 30464, 31075, 31688, 32299, 32908, 33519, 34131, 34740, 35353, 35965]
    hit1 = 3
    data2 = [0, 6192, 6821, 7450, 8078, 8706, 9336, 9963, 10592, 11219, 11848, 12476, 13106, 13734, 14361, 14990, 15619, 16245, 16875, 17504, 18132, 18760, 19388, 20016, 20644, 21274,
             21901, 22530, 23159, 23785, 24414, 25044, 25673, 26300, 26928, 27557, 28184, 28813, 29442, 30070, 30698, 31327, 31954, 32584, 33213, 33839, 34468, 35097, 35724, 36354, 36983]
    hit2 = 3
    data3 = [0, 6363, 7009, 7655, 8300, 8945, 9593, 10237, 10883, 11528, 12174, 12820, 13467, 14112, 14756, 15402, 16048, 16692, 17340, 17986, 18631, 19276, 19921, 20567, 21212, 21859,
             22504, 23150, 23797, 24440, 25086, 25733, 26379, 27023, 27670, 28316, 28960, 29606, 30252, 30897, 31543, 32189, 32834, 33481, 34128, 34770, 35417, 36063, 36707, 37354, 38000]
    hit3 = 3
    data4 = [0, 6533, 7197, 7860, 8523, 9185, 9850, 10511, 11175, 11837, 12501, 13163, 13828, 14490, 15151, 15815, 16478, 17140, 17804, 18468, 19130, 19793, 20455, 21117, 21780, 22445,
             23107, 23771, 24434, 25094, 25758, 26422, 27086, 27747, 28411, 29074, 29736, 30399, 31063, 31725, 32387, 33051, 33713, 34378, 35042, 35702, 36365, 37029, 37690, 38355, 39018]
    hit4 = 3
    data5 = [0, 46452, 51163, 55878, 60590, 65302, 70014, 74727, 79441, 84152, 88866, 93578, 98289, 103003, 107716, 112428, 117140, 121853, 126565, 131278, 135992, 140703, 145416, 150129, 154843, 159554,
             164266, 168980, 173691, 178403, 183118, 187829, 192542, 197255, 201966, 206680, 211392, 216105, 220817, 225530, 230244, 234955, 239668, 244380, 249093, 253805, 258519, 263231, 267943, 272656, 277368]
    hit5 = 1
    data6 = [0, 3095, 3409, 3725, 4039, 4354, 4668, 4982, 5296, 5609, 5924, 6238, 6552, 6867, 7182, 7495, 7809, 8123, 8437, 8752, 9065, 9381, 9695, 10008, 10323, 10636, 10951,
             11265, 11579, 11893, 12206, 12522, 12836, 13150, 13464, 13779, 14092, 14406, 14720, 15034, 15350, 15663, 15977, 16292, 16605, 16920, 17233, 17548, 17862, 18176, 18491]
    hit6 = 5


class 技能21(主动技能):
    名称 = "盛放·绯红花园"
    所在等级 = 100
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 290
    MP = [4028, 9667]
    无色消耗 = 15
    data0 = [0, 5161, 6359, 7555, 8751, 9949, 11146, 12344, 13539, 14736, 15934, 17132, 18328, 19523, 20722, 21918, 23116, 24312, 25510, 26706, 27903, 29100, 30298, 31494, 32692, 33887,
             35086, 36282, 37479, 38676, 39872, 41070, 42266, 43464, 44661, 45859, 47054, 48251, 49449, 50646, 51843, 53039, 54236, 55433, 56630, 57828, 59024, 60221, 61418, 62615, 63812]
    hit0 = 5
    data1 = [0, 6452, 7948, 9444, 10940, 12437, 13932, 15429, 16924, 18421, 19918, 21413, 22910, 24406, 25902, 27398, 28895, 30390, 31887, 33383, 34879, 36375, 37872, 39367, 40864,
             42360, 43856, 45351, 46850, 48344, 49840, 51339, 52834, 54330, 55827, 57323, 58818, 60316, 61811, 63307, 64804, 66300, 67796, 69292, 70788, 72284, 73780, 75277, 76772, 78269, 79766]
    hit1 = 6
    data2 = [0, 11060, 13625, 16190, 18755, 21321, 23886, 26449, 29014, 31580, 34145, 36710, 39275, 41838, 44404, 46968, 49534, 52099, 54664, 57228, 59794, 62358, 64924, 67489, 70053, 72618,
             75184, 77749, 80312, 82878, 85442, 88008, 90572, 93138, 95703, 98266, 100831, 103397, 105962, 108528, 111092, 113656, 116222, 118786, 121351, 123916, 126482, 129046, 131611, 134176, 136741]
    hit2 = 7
    data3 = [0, 6452, 7948, 9444, 10940, 12437, 13932, 15429, 16924, 18421, 19918, 21413, 22910, 24406, 25902, 27398, 28895, 30390, 31887, 33383, 34879, 36375, 37872, 39367, 40864,
             42360, 43856, 45351, 46850, 48344, 49840, 51339, 52834, 54330, 55827, 57323, 58818, 60316, 61811, 63307, 64804, 66300, 67796, 69292, 70788, 72284, 73780, 75277, 76772, 78269, 79766]
    hit3 = 6
    data4 = [0, 9926, 12228, 14530, 16832, 19134, 21434, 23737, 26039, 28340, 30643, 32944, 35246, 37549, 39850, 42150, 44453, 46755, 49057, 51359, 53660, 55962, 58265, 60567, 62870, 65169,
             67471, 69773, 72076, 74378, 76678, 78981, 81283, 83586, 85888, 88187, 90490, 92792, 95094, 97394, 99697, 101999, 104301, 106603, 108905, 111207, 113508, 115810, 118113, 120414, 122715]
    hit4 = 13
    data5 = [0, 60221, 74186, 88150, 102115, 116079, 130045, 144008, 157971, 171936, 185900, 199866, 213830, 227795, 241758, 255724, 269688, 283653, 297617, 311583, 325547, 339510, 353475, 367438, 381404, 395368,
             409333, 423297, 437262, 451226, 465190, 479155, 493120, 507085, 521049, 535014, 548977, 562943, 576906, 590870, 604835, 618801, 632764, 646728, 660693, 674657, 688623, 702587, 716551, 730516, 744480]
    hit5 = 3
    data6 = [0, 4300, 5298, 6295, 7293, 8291, 9288, 10285, 11282, 12281, 13277, 14275, 15272, 16270, 17268, 18265, 19262, 20259, 21259, 22254, 23252, 24249, 25246, 26246, 27243, 28241,
             29238, 30234, 31233, 32230, 33227, 34225, 35223, 36220, 37218, 38215, 39211, 40210, 41207, 42204, 43202, 44199, 45196, 46195, 47192, 48190, 49187, 50184, 51182, 52179, 53176]
    hit6 = 6

# class 技能22(主动技能):
#     名称 = '致命回射'
#     所在等级 = 30
#     等级上限 = 1
#     基础等级 = 1
#     CD = 12.474


class classChange(Character):
    def __init__(self, equVersion=""):
        self.实际名称 = 'ranger_female'
        self.名称 = '重霄·漫游枪手'
        self.角色 = '神枪手(女)'

        self.职业 = '漫游枪手'
        # 用来筛CP武器的
        self.转职 = '漫游枪手(女)'
        self.武器选项 = ['左轮枪']
        self.输出类型选项 = ['物理百分比']
        self.防具精通属性 = ['力量']
        self.类型 = '物理百分比'
        self.武器类型 = '左轮枪'
        self.防具类型 = '皮甲'
        技能列表 = []
        技能序号 = {}
        i = 0
        while i >= 0:
            try:
                tem = eval('技能'+str(i)+'()')
                tem.基础等级计算()
                技能序号[tem.名称] = i
                技能列表.append(tem)
                i += 1
            except:
                i = -1
        self.技能栏 = 技能列表
        self.技能序号 = 技能序号
        self.buff = 2.25

        super().__init__(equVersion)

    # def 被动倍率计算(self):
    #     super().被动倍率计算()
    #     self.技能栏[self.技能序号['致命回射']].基础 = self.技能栏[self.技能序号['致命射击']].等效百分比(
    #         self.武器类型)*1.25
    #     self.技能栏[self.技能序号['致命回射']].被动倍率 = self.技能栏[self.技能序号['致命射击']].被动倍率
